<?php
class TimeHelper extends AppHelper {
	function format($format, $time) {
		$time = strtotime($time);
		return date($format, $time);
	}
}